package com.shao.im.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shao.im.dao.PostDao;
import com.shao.im.entity.Post;
import com.shao.im.entity.vo.PostListVo;
import com.shao.im.service.PostService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 动态表(Post)表服务实现类
 *
 * @author makejava
 * @since 2023-08-04 22:23:23
 */
@Service("postService")
public class PostServiceImpl extends ServiceImpl<PostDao, Post> implements PostService {

    @Override
    public List<PostListVo> queryPostListByMeAndFids(Integer uid) {
        return getBaseMapper().queryPostList(uid);
    }
}

